package com.ljf.config.enums;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ljf.common.enums.BasicEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 发号器配置表头  config_base_impulse_sender_header  归属服务  belong_service  枚举
 *
 * @author LJF
 * @since 2025-01-02
 */
@Getter
@AllArgsConstructor
public enum ConfigBaseImpulseSenderHeaderBelongServiceEnum implements BasicEnum {

    DAILY(1, "日常服务 - daily", "daily"),
    AUTHORITY(2, "权限服务 - authority", "authority"),
    UTILITY(3, "工具服务 - utility", "utility"),
    CONFIG(4, "配置服务 - config", "config"),
    FINANCE(5, "资产服务 - finance", "finance"),
    TEST(6, "测试服务 - test", "test"),
    TASK(7, "任务服务 - task", "task");

    @JsonProperty("code")
    @ApiModelProperty(value = "编码")
    private final Integer code;

    @JsonProperty("name")
    @ApiModelProperty(value = "描述")
    private final String name;

    @JsonProperty("dbCode")
    @ApiModelProperty(value = "数据库编码")
    private final String dbCode;

}
